package cn.hznc.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author：Administrator
 * @Date：2023/5/21 23:10
 */
@Getter
@Setter
@Table(name = "t_tool_connect")
@TableName(value = "t_tool_connect")
public class ToolConnectEntity{

    /**
     * 系统id
     */
    @Column(name = "id",type = MySqlTypeConstant.INT,length = 11,isKey = true,isAutoIncrement = true)
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 工具类型
     */
    @Column(name = "location_num",type = MySqlTypeConstant.VARCHAR, length = 100)
    @TableField("location_num")
    private String locationNum;

    /**
     * 工具类型
     */
    @Column(name = "tool_no",type = MySqlTypeConstant.VARCHAR, length = 100)
    @TableField("tool_no")
    private String toolNo;

    /**
     * 工具类型
     */
    @Column(name = "partno",type = MySqlTypeConstant.VARCHAR, length = 200)
    @TableField("partno")
    private String partno;

    /**
     * 工具类型
     */
    @Column(name = "part_type",type = MySqlTypeConstant.VARCHAR, length = 200)
    @TableField("part_type")
    private String partType;

    /**
     * 工具类型
     */
    @Column(name = "bz",type = MySqlTypeConstant.VARCHAR, length = 200)
    @TableField("bz")
    private String bz;

    /**
     * 工具类型
     */
    @TableField(exist = false)
    private String life;
}
